home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00b.txt
/
000171_icon-group-sender_Fri Dec 15 16:35:42 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id eBFNXQI07849
for icon-group-addresses; Fri, 15 Dec 2000 16:33:26 -0700 (MST)
Message-Id: <200012152333.eBFNXQI07849@baskerville.CS.Arizona.EDU>
From: "John Sampson" <jsampson@indexes.u-net.com>
To: <icon-group@cs.arizona.edu>
Subject: Stepping
Date: Fri, 15 Dec 2000 20:12:26 -0000
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 521
It would be useful to be able to step through an Icon program or set
break-points in some simple way. I would have thought
dummy := read()
would be useful, and indeed it does step, but dummy remains null so one
cannot use it to leave the program at will. If dummy acquired a value from
read(), as the book leads me to expect, I could write
if dummy == "q" then stop
I don't understand why dummy is null - is cessation of keyboard input deemed
to be EOF, thus causing the procedure to fail?
Regards
_John Sampson_